#ifndef HOOKCOMMON_ORZ
#define HOOKCOMMON_ORZ

#include <stdlib.h>

//the user should free the string 
char*	tolowerstr(char* str)
{
	char* temp = (char*)malloc(sizeof(char)*(strlen(str)+1));
	unsigned int i=0;
	for(i=0; *(str+i) != 0; i++)
		*(temp+i)=tolower(*(str+i));
	*(temp+i)=0;
	return temp;
}

#endif